package com.stylefeng.guns.modular.pay.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng
 * @since 2018-09-07
 */
@TableName("api_sub_bank_code")
public class SubBankCode extends Model<SubBankCode> {

    private static final long serialVersionUID = 1L;

    private Integer id;
    /**
     * 联行号
     */
    @TableField("sub_bank_code")
    private String subBankCode;
    /**
     * 分行明细
     */
    @TableField("branch_bank_name")
    private String branchBankName;
    /**
     * 银行名称
     */
    @TableField("bank_name")
    private String bankName;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSubBankCode() {
        return subBankCode;
    }

    public void setSubBankCode(String subBankCode) {
        this.subBankCode = subBankCode;
    }

    public String getBranchBankName() {
        return branchBankName;
    }

    public void setBranchBankName(String branchBankName) {
        this.branchBankName = branchBankName;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "SubBankCode{" +
        "id=" + id +
        ", subBankCode=" + subBankCode +
        ", branchBankName=" + branchBankName +
        ", bankName=" + bankName +
        "}";
    }
}
